package com.amazon.ags.jni.achievements;

import android.util.Log;
import com.amazon.ags.api.AGResponseCallback;
import com.amazon.ags.api.ErrorCode;
import com.amazon.ags.api.RequestResponse;
import com.amazon.ags.jni.JniResponseHandler;

public class ResetAchievementJniRespHandler extends JniResponseHandler
  implements AGResponseCallback<RequestResponse>
{
  private static String LOG_TAG = "ResetAchievementJniRespHandler";

  public ResetAchievementJniRespHandler(int paramInt, long paramLong)
  {
    super(paramInt, paramLong);
  }

  public void onComplete(RequestResponse paramRequestResponse)
  {
    if (paramRequestResponse.isError())
    {
      Log.d(LOG_TAG, "jniResetAchievement response - onFailure");
      AchievementsJni.resetAchievementResponseFailure(this.m_CallbackPointer, paramRequestResponse.getError().ordinal(), this.m_DeveloperTag);
      return;
    }
    Log.d(LOG_TAG, "jniResetAchievement response - onSuccess");
    AchievementsJni.resetAchievementResponseSuccess(paramRequestResponse, this.m_CallbackPointer, this.m_DeveloperTag);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.jni.achievements.ResetAchievementJniRespHandler
 * JD-Core Version:    0.6.2
 */